package org.exez;


import cn.hutool.json.JSONException;
import cn.hutool.json.JSONObject;
import cn.hutool.json.JSONUtil;
import cn.hutool.json.XML;
import org.exez.modules.visitor.dto.police.DATAS;
import org.exez.modules.visitor.dto.police.PoliceRootDTO;
import org.exez.modules.visitor.dto.police.RETURNMSG;
import org.exez.modules.visitor.dto.zhongzhi.ZhongZhiRootDTO;

public class test {
    public static void main(String[] args) throws JSONException {
//        String str = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" +
//                "<DATAS> \n" +
//                "  <TYPE>[返回结果类型]</TYPE>  \n" +
//                "  <DESCRIPTION>[返回结果描述]</DESCRIPTION>  \n" +
//                "  <RETURNMSG> \n" +
//                "<USERNUMBER>[身份证号]</USERNUMBER>\n" +
//                "<USERNAME>[姓名]</USERNAME>\n" +
//                "<SEX>[性别]</SEX>\n" +
//                "<POLICENUMBER>[警号]</POLICENUMBER>\n" +
//                "<POLICETYPE>[警种]</POLICETYPE>\n" +
//                "<DM>[机构代码]</DM>\n" +
//                "<DEPTNAME>[所属部门名称]</DEPTNAME> \n" +
//                "<QXDJ>[权限等级]</QXDJ>\n" +
//                "  </RETURNMSG> \n" +
//                "</DATAS>";
//
//
//        JSONObject jsonObject1 = XML.toJSONObject(str);
//
//
//        System.out.println(jsonObject1.toString());
//        PoliceRootDTO policeRootDTO = JSONUtil.toBean(jsonObject1, PoliceRootDTO.class);
//
//        if (null != policeRootDTO && null != policeRootDTO.getDATAS() && null != policeRootDTO.getDATAS().getRETURNMSG()){
//        }
//
//        System.out.println(JSONUtil.toJsonStr(policeRootDTO));
//
//
//
//        ZhongZhiRootDTO zhongZhiRootDTO = JSONUtil.toBean("{\n" +
//                "    \"data\":[ {\n" +
//                "\t\t\"pcsdm\": \"331004530000\",\n" +
//                "            \"pcs\": \"台州市公安局路桥分局路北派出所\",\n" +
//                "            \"gmsfhm\": \"51253419**********\",\n" +
//                "            \"xxm\": null,\n" +
//                "            \"yxm\": \"柳*平\",\n" +
//                "            \"xbdm\": \"2\",\n" +
//                "            \"xb\": \"女性\",\n" +
//                "            \"mzdm\": \"01\",\n" +
//                "            \"mz\": \"汉族\",\n" +
//                "            \"sfzkbz\": null,\n" +
//                "            \"jgdm\": \"511528\",\n" +
//                "            \"jg\": \"四川省宜宾市兴文县\",\n" +
//                "            \"hjd_pcs\": null,\n" +
//                "            \"hjd_pcsdm\": null,\n" +
//                "            \"hjdz_xxdz\": \"古宋镇梧桐村一组76号\",\n" +
//                "            \"xzd_pcs\": \"台州市公安局路桥分局路北派出所\",\n" +
//                "            \"xzd_pcsdm\": \"331004530000\",\n" +
//                "            \"xzd_xxdz\": \"赵王村马铺路28号\",\n" +
//                "            \"gxdwdm\": \"331004530000\",\n" +
//                "            \"gxdw\": \"台州市公安局路桥分局路北派出所\",\n" +
//                "            \"ladwdm\": \"331004530000\",\n" +
//                "            \"ladw\": \"台州市公安局路桥分局路北派出所\",\n" +
//                "            \"yjjbly\": \"B\",\n" +
//                "            \"bjzdrybh\": \"R3310040402002011060008\",\n" +
//                "            \"yjjbdm\": \"5\",\n" +
//                "            \"yjjb\": \"蓝色\"   },\n" +
//                "{\n" +
//                "\t\t\"pcsdm\": \"331004530000\",\n" +
//                "            \"pcs\": \"台州市公安局路桥分局路北派出所\",\n" +
//                "            \"gmsfhm\": \"51253419**********\",\n" +
//                "            \"xxm\": null,\n" +
//                "            \"yxm\": \"柳*平\",\n" +
//                "            \"xbdm\": \"2\",\n" +
//                "            \"xb\": \"女性\",\n" +
//                "            \"mzdm\": \"01\",\n" +
//                "            \"mz\": \"汉族\",\n" +
//                "            \"sfzkbz\": null,\n" +
//                "            \"jgdm\": \"511528\",\n" +
//                "            \"jg\": \"四川省宜宾市兴文县\",\n" +
//                "            \"hjd_pcs\": null,\n" +
//                "            \"hjd_pcsdm\": null,\n" +
//                "            \"hjdz_xxdz\": \"古宋镇梧桐村一组76号\",\n" +
//                "            \"xzd_pcs\": \"台州市公安局路桥分局路北派出所\",\n" +
//                "            \"xzd_pcsdm\": \"331004530000\",\n" +
//                "            \"xzd_xxdz\": \"赵王村马铺路28号\",\n" +
//                "            \"gxdwdm\": \"331004530000\",\n" +
//                "            \"gxdw\": \"台州市公安局路桥分局路北派出所\",\n" +
//                "            \"ladwdm\": \"331004530000\",\n" +
//                "            \"ladw\": \"台州市公安局路桥分局路北派出所\",\n" +
//                "            \"yjjbly\": \"B\",\n" +
//                "            \"bjzdrybh\": \"R3310040402002011060008\",\n" +
//                "            \"yjjbdm\": \"5\",\n" +
//                "            \"yjjb\": \"蓝色\"   }\n" +
//                "\n" +
//                "],\n" +
//                "\"total\": 23,\n" +
//                "\"status\":\"Success\"\n" +
//                "\n" +
//                "}", ZhongZhiRootDTO.class);
//
//
//        System.out.println(JSONUtil.toJsonStr(zhongZhiRootDTO));

        int i = 98 / 10;
        System.out.println(i);
    }
}
